package com.ssyc.gsk_teacher.adapter;

import android.content.Context;
import android.widget.TextView;

import com.ssyc.common.adapter.CommonAdapter;
import com.ssyc.common.adapter.ViewHolder;
import com.ssyc.gsk_teacher.R;

import java.util.List;


/**
 * 创建日期：2017/11/10  16:57
 * 描述:
 * 作者:张伟
 */

public class PopLvAdapter extends CommonAdapter<String> {

    public PopLvAdapter(Context context, List<String> datas, int layoutId) {
        super(context, datas, layoutId);
    }

    @Override
    public void convert(ViewHolder holder, String s) {
        TextView tvName = holder.getView(R.id.tv_name);
        tvName.setText(s);
    }
}
